import java.util.Scanner;
public class Seventh{
	public static void main(String[] args){
	Scanner sc =new Scanner(System.in);
	System.out.println("Please enter the three numbers:");
	int num1=sc.nextInt();
	int num2=sc.nextInt();
	int num3=sc.nextInt();
	if(num1>num2&&num1>num3&&num2>num3){	
	System.out.println("After sorting,it is:"+num1+num2+num3);
	}else if (num1>num2&&num1>num3&&num3>num2){
	System.out.println("After sorting,it is:"+num1+num3+num2);
	}else if (num2>num1&&num1>num3&&num2>num3){
	System.out.println("After sorting,it is:"+num2+num1+num3);
	}else if (num2>num1&&num3>num1&&num2>num3){
	System.out.println("After sorting,it is:"+num2+num3+num1);
	}else if (num3>num1&&num3>num2&&num1>num2){
	System.out.println("After sorting,it is:"+num3+num1+num2);
	}else{
	System.out.println("After sorting,it is:"+num3+num2+num1);
	}
	}
}